package com.lesso.cyg.sunflower.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 员工考勤设备关系数据传输对象
 *
 * @author cyg
 * @since 2025-07-02
 */
@Data
public class EmployeeDeviceRelDTO implements Serializable {
    private static final long serialVersionUID = 20250702L;

    private Long id;

    private Long employeeId;

    private String deviceCode;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate authorizationDate;

    private Integer authorizationStatus;
}